package com.wenjunwu.blog.dao;

import java.util.List;

import com.wenjunwu.blog.entity.SystemRole;

public interface SystemRoleDao {

	int insert(SystemRole record);

	SystemRole selectByPrimaryKey(Long id);
	
	SystemRole selectByRoleName(String roleName);

	List<SystemRole> selectByUsername(String username);
	
	List<SystemRole> selectAllRoles();

	int updateByPrimaryKeySelective(SystemRole record);

}